package com.ty.common.exception;

/**
 * @author 天宇宇宇宇宇
 * @Data 2020/11/21 20:23
 */
public enum  BizCodeEnume {
    UNKNOW_EXCEPTION(10000, "系统未知异常"),
    VAILD_EXCEPTION(10001, "参数格式校验失败");

    /**
     * 响应码
     */
    private int code;

    /**
     * 响应信息
     */
    private String msg;

    BizCodeEnume(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
